package com.stu.day18.ReflexPractice.entity;

import com.stu.day18.ReflexPractice.Column;
import com.stu.day18.ReflexPractice.Entity;
import com.stu.day18.ReflexPractice.Id;
import com.stu.day18.ReflexPractice.Table;

/**
 * @author zy
 * @date 2025/2/20 16:02
 */
@Entity
@Table(name = "t_product")
public class Product {
    @Id
    private Integer id;
    @Column(name = "productname", nullable = false)
    private String name;
    private Double price;
}
